<?php namespace Common\Model;
use Hdphp\Model\Model;
class sc_admin extends Model{
	
	//指定表名
	protected $table="sc_admin";
	

	public function getAdmin($adminname,$adminpwd){
		return $data=$this->where('adminname',$adminname)->where('adminpwd',$adminpwd)->find();
	}
	
    
	
	
	
	
	
}



?>